-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: pass defaultResolver into custom resolvers #7714
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👌
Seems like the snapshots have to be updated to account for the line numbers changing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having defaultResolver inside defaultResolver looks weird, isn't it? Can't we export it directly from jest-resolve as a part of public api?
@thymikee see the linked issue where we discussed this 🙂 It also matches e.g. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed the part about having dependency on jest-resolve, makes sense now!
82f3f67
to
a670b51
Compare
When will this be available on NPM? I really need to use v24 because being without #7404 is a huge blocker. |
@danieldunderfelt this was part of v24.1.0 we released a couple of weeks ago. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
Fixes arcanis/jest-pnp-resolver#1
Test plan
Test updated